package com.blog.article.mapper;

import com.blog.article.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog.article.entity.Blog;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 苏离
 * @since 2021-12-10
 */
public interface ArticleMapper extends BaseMapper<Article> {

    boolean deleteByAttach( @Param("articleId") Integer articleId);
    boolean deleteComment(@Param("articleId") Integer articleId);
}
